Optimal. Leaf size=196 \[ \frac {2+3 x^2}{10 x \sqrt {5+x^4}}-\frac {3 \sqrt {5+x^4}}{25 x}+\frac {3 x \sqrt {5+x^4}}{25 \left (\sqrt {5}+x^2\right )}-\frac {3 \left (\sqrt {5}+x^2\right ) \sqrt {\frac {5+x^4}{\left (\sqrt {5}+x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{5\ 5^{3/4} \sqrt {5+x^4}}+\frac {3 \left (2+\sqrt {5}\right ) \left (\sqrt {5}+x^2\right ) \sqrt {\frac {5+x^4}{\left (\sqrt {5}+x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{20\ 5^{3/4} \sqrt {5+x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 196, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {1292, 1296,
1212, 226, 1210} \begin {gather*} \frac {3 \left (2+\sqrt {5}\right ) \left (x^2+\sqrt {5}\right ) \sqrt {\frac {x^4+5}{\left (x^2+\sqrt {5}\right )^2}} F\left (2 \text {ArcTan}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{20\ 5^{3/4} \sqrt {x^4+5}}-\frac {3 \left (x^2+\sqrt {5}\right ) \sqrt {\frac {x^4+5}{\left (x^2+\sqrt {5}\right )^2}} E\left (2 \text {ArcTan}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{5\ 5^{3/4} \sqrt {x^4+5}}-\frac {3 \sqrt {x^4+5}}{25 x}+\frac {3 \sqrt {x^4+5} x}{25 \left (x^2+\sqrt {5}\right )}+\frac {3 x^2+2}{10 \sqrt {x^4+5} x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 1210
Rule 1212
Rule 1292
Rule 1296
Rubi steps
\begin {align*} \int \frac {2+3 x^2}{x^2 \left (5+x^4\right )^{3/2}} \, dx &=\frac {2+3 x^2}{10 x \sqrt {5+x^4}}-\frac {1}{10} \int \frac {-6-3 x^2}{x^2 \sqrt {5+x^4}} \, dx\\ &=\frac {2+3 x^2}{10 x \sqrt {5+x^4}}-\frac {3 \sqrt {5+x^4}}{25 x}+\frac {1}{50} \int \frac {15+6 x^2}{\sqrt {5+x^4}} \, dx\\ &=\frac {2+3 x^2}{10 x \sqrt {5+x^4}}-\frac {3 \sqrt {5+x^4}}{25 x}-\frac {3 \int \frac {1-\frac {x^2}{\sqrt {5}}}{\sqrt {5+x^4}} \, dx}{5 \sqrt {5}}+\frac {1}{50} \left (3 \left (5+2 \sqrt {5}\right )\right ) \int \frac {1}{\sqrt {5+x^4}} \, dx\\ &=\frac {2+3 x^2}{10 x \sqrt {5+x^4}}-\frac {3 \sqrt {5+x^4}}{25 x}+\frac {3 x \sqrt {5+x^4}}{25 \left (\sqrt {5}+x^2\right )}-\frac {3 \left (\sqrt {5}+x^2\right ) \sqrt {\frac {5+x^4}{\left (\sqrt {5}+x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{5\ 5^{3/4} \sqrt {5+x^4}}+\frac {3 \left (2+\sqrt {5}\right ) \left (\sqrt {5}+x^2\right ) \sqrt {\frac {5+x^4}{\left (\sqrt {5}+x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {x}{\sqrt [4]{5}}\right )|\frac {1}{2}\right )}{20\ 5^{3/4} \sqrt {5+x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 10.09, size = 108, normalized size = 0.55 \begin {gather*} -\frac {20-15 x^2+6 x^4+6 (-1)^{3/4} \sqrt [4]{5} x \sqrt {5+x^4} E\left (\left .i \sinh ^{-1}\left (\sqrt [4]{-\frac {1}{5}} x\right )\right |-1\right )+3 \sqrt [4]{-5} \left (-2 i+\sqrt {5}\right ) x \sqrt {5+x^4} F\left (\left .i \sinh ^{-1}\left (\sqrt [4]{-\frac {1}{5}} x\right )\right |-1\right )}{50 x \sqrt {5+x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.18, size = 180, normalized size = 0.92
method | result | size |
meijerg | \(-\frac {2 \sqrt {5}\, \hypergeom \left (\left [-\frac {1}{4}, \frac {3}{2}\right ], \left [\frac {3}{4}\right ], -\frac {x^{4}}{5}\right )}{25 x}+\frac {3 \sqrt {5}\, x \hypergeom \left (\left [\frac {1}{4}, \frac {3}{2}\right ], \left [\frac {5}{4}\right ], -\frac {x^{4}}{5}\right )}{25}\) | \(38\) |
risch | \(-\frac {6 x^{4}-15 x^{2}+20}{50 x \sqrt {x^{4}+5}}+\frac {3 i \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \left (\EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )-\EllipticE \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )\right )}{125 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}+\frac {3 \sqrt {5}\, \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )}{250 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}\) | \(170\) |
elliptic | \(-\frac {2 \left (\frac {1}{50} x^{3}-\frac {3}{20} x \right )}{\sqrt {x^{4}+5}}-\frac {2 \sqrt {x^{4}+5}}{25 x}+\frac {3 i \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \left (\EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )-\EllipticE \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )\right )}{125 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}+\frac {3 \sqrt {5}\, \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )}{250 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}\) | \(176\) |
default | \(\frac {3 x}{10 \sqrt {x^{4}+5}}+\frac {3 \sqrt {5}\, \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )}{250 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}-\frac {x^{3}}{25 \sqrt {x^{4}+5}}-\frac {2 \sqrt {x^{4}+5}}{25 x}+\frac {3 i \sqrt {25-5 i \sqrt {5}\, x^{2}}\, \sqrt {25+5 i \sqrt {5}\, x^{2}}\, \left (\EllipticF \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )-\EllipticE \left (\frac {x \sqrt {5}\, \sqrt {i \sqrt {5}}}{5}, i\right )\right )}{125 \sqrt {i \sqrt {5}}\, \sqrt {x^{4}+5}}\) | \(180\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 3.01, size = 75, normalized size = 0.38 \begin {gather*} \frac {3 \sqrt {5} x \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{4}, \frac {3}{2} \\ \frac {5}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{5}} \right )}}{100 \Gamma \left (\frac {5}{4}\right )} + \frac {\sqrt {5} \Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {3}{2} \\ \frac {3}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{5}} \right )}}{50 x \Gamma \left (\frac {3}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.46, size = 48, normalized size = 0.24 \begin {gather*} \frac {3\,\sqrt {5}\,x\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{4},\frac {3}{2};\ \frac {5}{4};\ -\frac {x^4}{5}\right )}{25}-\frac {2\,{\left (\frac {5}{x^4}+1\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {3}{2},\frac {7}{4};\ \frac {11}{4};\ -\frac {5}{x^4}\right )}{7\,x\,{\left (x^4+5\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________